package com.iedu.bigdata.scala.chapter01

object maxNum1 {
  def main(args: Array[String]): Unit = {
  def max(a: Int, b: Int): Int = {
    if (a > b) a else b
  }
  val maximum = max(10, 20)
  println(s"最大值是: $maximum")
  }
}
